package com.cms.service;

import com.cms.dto.LoginDTO;
import com.cms.entity.User;

import java.util.List;

public interface UserService {

    User login(LoginDTO loginDTO);

    Integer save(User user);

    List<User> list();

    Integer delete(Integer id);
}
